<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Employee Edit Department</title>
	
	<link rel="stylesheet" type="text/css" href="css/stylev2.css" />
	<link rel="stylesheet" type="text/css" href="css/frame2.css" />
</head>
<body>

<%	
	String strUser = String.valueOf(session.getAttribute("sUser"));
	HttpSession htp_session = request.getSession();
			
	// check session
		if (htp_session == null || htp_session.getAttribute("sUser") == null) {
		    // Forward the control to login.jsp if authentication fails or session expires
		    request.getRequestDispatcher("/login.jsp").forward(request,
		        response);
		}
		if(!"admin".equals(htp_session.getAttribute("sUser"))){%>
			<script>alert("This user dont have PERMISSION to access this zone.");</script>
			<meta HTTP-EQUIV="Refresh" CONTENT="0; URL=system_select.jsp"> 	
	<%}

%>

	<div id="page-wrap">
		<div id="inside">
			<table border="0">
				<tr style="font-size:24px">
					<td width="600" height="100" style= "background-color: #273b80;border: 0px ;padding: 0px; 0px;" >
						<div id="header_banner-2"></div>
					</td>
					
					<td width="680" height="100" style= "background-color: #273b80;border: 0px;padding: 0px; 0px;" >
						<p align="right"><label><font size="4" color="#ffffff">username : <%=strUser%>&nbsp;&nbsp;</font></label></p>
						<a href="logout.jsp"><p align="right"><label><font size="3" color="#ffffff">log out</font></label></p></a>
					</td>
				</tr>
			</table>
	
				<div id="main-content-ac">
						
						<div class="imageFrame">บุคลากร / แก้ไขภาควิชา</div>
						
						<br/><br/><br/><br/><br/>
						
						<center>
							<table width="800" border="0">
					       		<tr style="font-size:24px">
					              <td width="400" height="50"><label><font size="5"><strong>ภาควิชา (เดิม)</strong></font> </label></td>
					              <td width="400" height="50"><label><font size="5">COM</font></label></td>
					            </tr>
					            
					            <tr style="font-size:24px">
					              <td height="50"><label> <font size="5"><strong>ภาควิชา (ใหม่)</strong></font> </label></td>
					              <td height="50">
					              	<select name="department" style="font-size:18px">
					                        <option value="select">Select</option>
					                        <option value="ME">ME</option>
					                        <option value="CHE">CHE</option>
					                        <option value="CE">CE</option>
					                        <option value="COM">COM</option>
					                        <option value="IE">IE</option>
					                        <option value="EE">EE</option>
					                        <option value="BME">BME</option>
					            	</select>
					            	<label><font size="5" color="#FF0000">*</font></label>
					              </td>
					            </tr>
					            
					            <tr style="font-size:24px">
					                <td height="50"><label><font size="3" color="#FF0000">หมายเหตุ: * คือ ข้อมูลสำคัญ จำเป็นต้องกรอก</font></label></td>
					                <td height="50">
					                </td>
					            </tr>
					            
					            <tr style="font-size:24px">
					                <td height="50"><center><a href="admin_employee.jsp"><button class="buttonStyle">บันทึก</button></a></center></td>
					                <td height="50">
					                	<a href="admin_employee.jsp"><button class="buttonStyle">ยกเลิก</button></a>
					                </td>
					            </tr>
							</table>
						</center>
						
						<br><br><br><br><br><br><br><br>
				</div>	
				
			<div style="clear: both;"></div>
				
			<div id="footer"></div>
			
		</div>		
			<div style="clear: both;"></div>		
   </div>

</body>
</html>